﻿#region "Author section"

//<remarks>
//====================================================================
// Name: Variation Settings
// Pupose: To set the Object Id and other settings of variation. 
// Construction Date: 10-Aug-2010
// Author:Kshitij Bishnoi
//====================================================================
//</remarks>

# endregion


namespace SiteVariation
{
    /// <summary>
    /// Hold the Instance of properties for Variation Settings Class
    /// </summary>
    public class VariationSettings
    {
        #region "Private Variables"

        private string _ObjectID; 
        private string _SourceVarRootWebTemplatePropertyName;
        private bool _EnableAutoSpawnPropertyName ;
        private bool _AutoSpawnStopAfterDeletePropertyName;
        private bool _UpdateWebPartsPropertyName;
        private bool _CopyResourcesPropertyName;
        private bool _SendNotificationEmailPropertyName;

        #endregion

        #region "Public Properties"

        /// <summary>
        /// Gets or sets the name of the source variation root web template property.
        /// </summary>
        public string SourceVarRootWebTemplatePropertyName
        {
            get { return _SourceVarRootWebTemplatePropertyName; }
            set { _SourceVarRootWebTemplatePropertyName = value; }
        }

        /// <summary>
        /// Gets or sets a value indicating whether [enable auto spawn property name].
        /// </summary>
        public bool EnableAutoSpawnPropertyName
        {
            get { return _EnableAutoSpawnPropertyName; }
            set { _EnableAutoSpawnPropertyName = value; }
        }

        /// <summary>
        /// Gets or sets a value indicating whether [enable auto stop after delete property name].
        /// </summary>
        public bool AutoSpawnStopAfterDeletePropertyName
        {
            get { return _AutoSpawnStopAfterDeletePropertyName; }
            set { _AutoSpawnStopAfterDeletePropertyName = value; }
        }

        /// <summary>
        /// Gets or sets a value indicating whether [enable Update WebParts property name].
        /// </summary>
        public bool UpdateWebPartsPropertyName
        {
            get { return _UpdateWebPartsPropertyName; }
            set { _UpdateWebPartsPropertyName = value; }
        }

        /// <summary>
        /// Gets or sets a value indicating whether [enable Copy Resource property name].
        /// </summary>
        public bool CopyResourcesPropertyName
        {
            get { return _CopyResourcesPropertyName; }
            set { _CopyResourcesPropertyName = value; }
        }


        /// <summary>
        /// Gets or sets a value indicating whether [enable Send Notification Email property name].
        /// </summary>
        public bool SendNotificationEmailPropertyName
        {
            get { return _SendNotificationEmailPropertyName; }
            set { _SendNotificationEmailPropertyName = value; }
        }

        /// <summary>
        /// Gets or Sets a value of location where variation has to be applied
        /// </summary>
        public string ObjectID
        {
            get { return _ObjectID; }
            set { _ObjectID = value; }
        }

        #endregion
    }
}
